Subscribe to Blog
Email Address
 
Search for Repeat Program returned 4 results.
Pages:(1) [1]

Lessson 3: CNC Canned Cycles, Drilling, Tapping, Reaming and Boring Cycles

September 20, 2015, 2:49 pm by Eldar Gerfanov (Admin)

Canned cycles are used every time we need to drill, ream or tap holes on our CNC machine

Standard Fanuc G-Code language supports more than a dozen canned cycles.

The most common cycles that will cover 99.9% of your g-Code CNC programming work are:

G-Code Name Motion Style
G81 Standard Drilling Feed-In, Rapid-Out
G83 Deep Hole Peck Drilling Incremental Feed-In by Peck Distance, Rapid Out, Repeat
G84 Right Hand Tapping Feed-In,Reverse Spindle, Feed-Out
G85 Reaming/Boring Feed-In, Feed Out

Subsequent holes

You can drill additional holes After your canned cycle has been initiated.
Any line with X Y position will be treated as another hole position.

Each position can have its own Retract value, feed rate and retract height modifier.

G80 - Canned Cycle Cancel Code

After all the holes of the canned cycle have been drilled, it is required to call G80 code in order to cancel the current cycle.

Read More 

Programming Efficient Peck Drilling Cycle

June 2, 2012, 8:18 am by Eldar Gerfanov (Admin)

Using Peck Cycle is often needed when drilling deep holes.
When using proper feed and speed no peck is required at depths of up to 3xDia for regular or 5xDia for High-Performance Parabolic drills.
At depths up to 10x, up to 5 pecks are required for regular  drills and up to 3 for Parabolic.
Anything over 10x Dia requires constant pecking of 0.5-1x Dia for regular drills and 1.5-2 Dia for Parabolic.

Since for programming you need a peck amount. Here are the numbers:

Code:REGULAR JOBBER DRILLS
3x: No Peck
3x-10x: 1xDia Peck
over 10x:.75xDia Peck
over 15x:.5xDia Peck 
 

Code:HI-HELIX HP DRILLS
5x: No Peck
5x-10x: 2xDia Peck
over 10x: 1.5xDia Peck 

Of course our HSMAdvisor Speed and Feed Calculator suggests not only the Speeds and Feeds but also the proper peck depth for various drill types and depths of the hole.
It in fact was the first machinist calculator to do so. This feature was much later borrowed by our competition.

And here is a pretty image showing Peck VS Hole Depth for regular twist drill:

This not only means that peck amount should be different for different styles of drills and depths of holes.
But also that peck distance should be different for different stages of drilling the same hole.
Ideally we should start the hole with large pecks, that continually reduce as the hole gets deeper and deeper.

Let's find out how we can apply this knowledge when programming our toolpaths.
This is format for normal Pecking:

Read More 

Compound Cycle Tapping on Okuma Lathe

April 27, 2012, 11:56 am by Eldar Gerfanov (Admin)

Cycle Format:

G184 X Z C K (I) F Q E
OR
G184 X (Z) R C K (I) F Q E

G180 (Cancel)

Read More 

Repeating OKUMA CNC Lathe program number of times

January 6, 2011, 1:00 pm by Eldar Gerfanov (Admin)

If you want OKUMA Lathe to repeat program several times you can use a subprogram or a conditional GOTO statement.

On Many Okumas subprograms is an option you have to buy, so we have to use GOTO statement.

Code
O1 
CN=7 (NUMBER OF CYCLES TO REPEAT) 
CC=0 (CURRENT CYCLE)
N0
......
(part program)
......
CC=CC+1 
IF [ CC LT CN ] N0 
M2

Thats it 

This little code helps alot when using bar feeder and stuff like that.

 

Pages:(1) [1]
Sing In

© 2009-2022 Eldar Gerfanov. All Rights Reserved.
© 2009 Eldar Gerfanov. Materials on this site are presented as is and are mostly for educational use.

You may freely reproduce information presented herein without any consent from me, provided you include link to this site.
In case when i am not the copyright holder, you may want to contact proper owner of material. Anyway, they are freely available on the Internet.
If you hold the copyright right for any of the materials on this site and want them removed, please contact me here